﻿<Window x:Class="Visuals.Wizard.SecondStepWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        AllowsTransparency="True" 
        WindowStyle="None" 
        Background="Transparent"
        WindowStartupLocation="CenterScreen"
    Title="Честотна матрица" Height="450" Width="600">
    <Window.Resources>
        <LinearGradientBrush x:Key="DarkBorderBrush" StartPoint="0,0" EndPoint="0,1">
            <LinearGradientBrush.GradientStops>
                <GradientStopCollection>
                    <GradientStop Color="#363636" Offset="0.0"/>
                    <GradientStop Color="#000000" Offset="1.0"/>
                </GradientStopCollection>
            </LinearGradientBrush.GradientStops>
        </LinearGradientBrush>
    </Window.Resources>
    <Border Background="Black" CornerRadius="20" BorderBrush="{StaticResource DarkBorderBrush}" BorderThickness="2,2,2,2" Opacity="0.8">
        <Grid>
            <TextBlock Foreground="White" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Top" MaxWidth="350" TextWrapping="Wrap" TextAlignment="Center" Padding="8" Width="230" Margin="0,-3,0,0"><Run Language="bg-bg" Text="Честотна матрица"/></TextBlock>
            <Path Data="M74,168 L500.30036,168" Height="2" Margin="50,39.927,50,0" Stretch="Fill" VerticalAlignment="Top" Stroke="White" Fill="White" OpacityMask="White" HorizontalAlignment="Center"/>
            <TextBlock Height="89" Margin="50,0,0,71" TextWrapping="Wrap" VerticalAlignment="Bottom" Foreground="White" HorizontalAlignment="Left" Width="474"><Run Language="bg-bg" Text="Всяка клета от честотната матрица показва коефициента на "/><Run FontStyle="Italic" Language="bg-bg" Text="&quot;свързаност&quot;"/><Run Language="bg-bg" Text=" между"/><LineBreak/><Run Language="bg-bg" Text="определен документ и термин (дума). По подразбиране се използва броя срещания на думата в документа. От друга страна статистическата оценка "/><Run Text="TfIdf "/><Run Language="bg-bg" Text="взима предид и параметри като големина на документа, срещане на думата из цялата колекция и др."/></TextBlock>

            <Button Content="Назад" Name="prevButton" HorizontalAlignment="Right" Height="25" Margin="0,0,186,14" VerticalAlignment="Bottom" Width="80" Click="prevButton_Click"/>
            <Button Content="Напред" Name="nextButton" HorizontalAlignment="Right" Height="25" Margin="0,0,100,14" VerticalAlignment="Bottom" Width="80" Click="nextButton_Click"/>
            <Button Content="Край" Height="25" HorizontalAlignment="Right" Margin="0,0,15,14" Name="button2" VerticalAlignment="Bottom" Width="80" Click="cancelButton_Click" />
            
            <Grid HorizontalAlignment="Left" Height="28" Margin="50,0,0,37" VerticalAlignment="Bottom" Width="176" >
                <CheckBox Name="useTfIdf" HorizontalAlignment="Right" Content="Използване на TfIdf." FontWeight="DemiBold" FontSize="14" Foreground="White" Margin="0,10,24,2" Checked="useTfIdf_Checked"/>
            </Grid>
            <Image Height="231" HorizontalAlignment="Left" Margin="107,48,0,0" Name="image1" Stretch="Uniform" VerticalAlignment="Top" Width="387" Source="/Visuals;component/Images/Google%20TFIDF.png" />
        </Grid>
    </Border>
</Window>
